package io.gitee.zhangbinhub.admin.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("用户信息详情")
data class UserVo(
    @ApiModelProperty(name = "用户ID")
    var id: String? = null,
    @ApiModelProperty(name = "用户名称")
    var name: String? = null,
    @ApiModelProperty(name = "登录号")
    var loginNo: String? = null,
    @ApiModelProperty(name = "手机号")
    var mobile: String? = null,
    @ApiModelProperty(name = "用户级别")
    var levels: Int = 0,
    @ApiModelProperty(name = "是否启用")
    var enabled: Boolean = false,
    @ApiModelProperty(name = "序号")
    var sort: Int = 0,
    @ApiModelProperty(name = "备注")
    var remark: String? = null,
    @ApiModelProperty(name = "所属机构")
    var organizationSet: MutableSet<OrganizationVo> = mutableSetOf(),
    @ApiModelProperty(name = "可管理的机构")
    var organizationMngSet: MutableSet<OrganizationVo> = mutableSetOf(),
    @ApiModelProperty(name = "所属角色")
    var roleSet: MutableSet<RoleVo> = mutableSetOf()
)
